import http from '@http/http';
export const tasks = (params) => http.GET('api/admin/review/tasks', params, '');
// http.GET("/admin/login", {}, errMsg);

export const list = (params) => http.GET('api/admin/review/list', params, '');

export const reviewer = () => http.GET('api/admin/review/reviewer', {}, '');

export const update = (params) => http.PUT('api/admin/review/task', params, '');

export const apply = (params) => http.GET('api/admin/review/task', params, '');

export const detail = (params) => http.GET('/api/admin/review/article', params, '');

export const statics = (params) => http.GET('/api/admin/review/static', params, '');

export const undo = (params) => http.GET('/api/admin/review/undo', params, '');
